package entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Teacher implements Serializable {

    private int id;

    private String name;

    private LocalDateTime birthYear;

    private LocalDateTime grade;

    private String degree;

    private int collegeId;



}
